package com.t194.mapper;

import com.t194.pojo.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper {

    List<Permission> findByParentId(@Param("parentId") Integer parentId);

    int count(Integer parentId);

    List<String> findPermCode(String userCode);

}
